#include <stdio.h>
int main()
{
	char ch;
	printf("输入一个字母：");
	ch = getchar();
	if (ch > 91) {
		ch = ch - 32;
	}
	else  {
		ch = ch + 32;
	};
	printf("%c\n%d", ch, ch);
	return 0;
}